package parts3.lesson29;


/**
 * ABC实际会看到各自卖出20张票，一共卖出20*3张
 * D是一起卖
 */

public class Demo {
    public static void main(String[] args) {
        MyThread mt1 = new MyThread("线程A");
        MyThread mt2 = new MyThread("线程B");
        MyThread mt3 = new MyThread("线程C");
        MyThread mt4 = new MyThread("线程D");


        new Thread(mt1).start();
        new Thread(mt2).start();
        new Thread(mt3).start();

        new Thread(mt4).start();
        new Thread(mt4).start();
    }
}
